PM_FUNC_NORM_ATTRIB SKILL:SkillDragonRage( SKILL_CALL:iCall, Int:id )
{
	switch( iCall )
	{
		case CALL_REGISTER: return SkillRegister( .Name = "Dragon Rage", .Type = TYPE_DRAGON, .callTypes = CALL_GIVE_DAMAGE, .PP = 10, .Charges = 1, .DelayTime = 5.0 );
		case CALL_HELP:     return SkillHelp( "Chance to deal an extra 40 damage when attacking." );
		case CALL_GIVE_DAMAGE:
		{
			if ( StatChance( id, STAT_ATTACK, 20, 60 ) )
			{
				SkillDamage( .victim = g_iVictim,
							.attacker = id,
							.damage = 40
							);

				SoundEmit( id, SOUND_AG_DIE );

				return SKILL_USED;
			}
		}
	}
	return SKILL_READY;
}

